package com.gangan.mapper;

import com.alibaba.fastjson.JSONObject;
import com.gangan.model.Doctor;
import com.gangan.model.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gangan.model.Patient;
import com.gangan.model.Section;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-08-20
 */
public interface OrderMapper extends BaseMapper<Order> {

    List<Order> findaa();

    /**
     *  查询所属科室下 的所有医生
     */
    List<Doctor> querydocBydep(String department);


    List<Map> getOrderByOthers(String patientName,Integer status,Integer id);
}
